let baseUrl='';
var env = process.env.NODE_ENV === 'development' ? 'development' :
    process.env.VUE_APP_TITLE === 'test' ? 'test' : process.env.VUE_APP_TITLE === 'pre'?'pre':'production';
// switch (process.env.NODE_ENV)
// case ''
switch (env) {
    case 'development':
        // baseUrl ='http://bpi.dajianhui.com';
        baseUrl ='https://api.cs.dajianhui.com';
        break
    case 'test':
        baseUrl = 'https://api.cs.dajianhui.com';
        break
    case 'pre':
        baseUrl = 'https://api71.dajianhui.com';
        break
    case 'production':
        baseUrl = 'https://dajianhui.com';
        break
}
export default baseUrl;